package com.system.healthproject.model.admin.paramsbean;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@ApiModel
public class MenuParams {

    @NotBlank
    @ApiModelProperty(name = "roleName",notes = "菜单英文名称",required = true)
    private String menuName;

    @NotBlank
    @ApiModelProperty(name = "roleName",notes = "菜单中文名称",required = true)
    private String menuNamezh;

    @NotBlank
    @ApiModelProperty(name = "url",notes = "路由",required = true)
    private String url;

    @NotNull
    @ApiModelProperty(name = "parentId",notes = "父级菜单id",required = true)
    private Integer parentId;

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public Integer getParentId() {
        return parentId;
    }

    public void setParentId(Integer parentId) {
        this.parentId = parentId;
    }

    public String getMenuName() {
        return menuName;
    }

    public void setMenuName(String menuName) {
        this.menuName = menuName;
    }

    public String getMenuNamezh() {
        return menuNamezh;
    }

    public void setMenuNamezh(String menuNamezh) {
        this.menuNamezh = menuNamezh;
    }
}
